Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use drawIndirect instead of draw in particles sample #471

Closed
wants to merge 1 commit into from

Conversation

beaufortfrancois
Copy link
Collaborator

As discussed in #410, a sample featuring drawIndirect would be useful to developers. This PR attempts to do that by replacing draw() with drawIndirect() in the particles sample. Let me know what you think.

@kainino0x
Copy link
Collaborator

IMO this makes it look like this is a best practice, but it isn't. We should either have a sample that uses it meaningfully (for some kind of culling?) or just a simple triangle drawn with drawIndirect just to show how you call it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants